package com.slxy.before;

public class APP {
    public static void main(String[] args) {
        DemoB demoB = new DemoB();
        DemoC demoC = new DemoC();
        demoB.b();
        demoC.c();
        DemoB demoB1 = new DemoB();
        DemoC demoC1 = new DemoC();
        DemoA demoA = new DemoA();
        demoB1.b(demoA);
        demoC1.c(demoA);
    }
}
